package com.note.simpleadmin.module.advert.dao;

import com.note.simpleadmin.entity.BgUser;
import com.note.simpleadmin.entity.TbBanner;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/***
 *@ClaseName:BgUserRepository
 *
 *@Decription:
 *
 *@Author: xubingbing
 *
 *@Date:2019/1/27 0027 14:26
 */
public interface BannerRepository extends JpaRepository<TbBanner, String>, JpaSpecificationExecutor<TbBanner> {
    List<TbBanner> findByIsDelete(Integer isDelete);
    List<TbBanner> findByIdAndIsDelete(String id,Integer isDelete);
}
